Converting ER Diagrams to Tables